package com.shun.upms.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class SysAdminDeptDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private String deptId;

    @ApiModelProperty("父机构id")
    private String deptPid;

    @ApiModelProperty("父级ids")
    private String deptPids;

    @ApiModelProperty("机构简称")
    private String deptSimpleName;

    @ApiModelProperty("机构全称")
    private String deptFullName;

    @ApiModelProperty("机构描述")
    private String deptDesc;

    @ApiModelProperty("机构排序")
    private Integer deptSort;

    @ApiModelProperty("负责人")
    private String deptLeader;

    @ApiModelProperty("创建时间")
    private LocalDateTime dateCreated;

    @ApiModelProperty("更新时间")
    private LocalDateTime dateUpdated;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("修改人")
    private String updateUser;

    @ApiModelProperty("删除标识 0 正常 1 删除")
    private String delFlag;

    private List<SysAdminDeptDto> children;
}
